package com.gdit.zax.entitys;

import java.sql.Timestamp;

public class Comment {
	private int videoid;
	private int userid;
	private int touserid;
	private String username;
	private String tousername;
	private String content;
	private int recommentid;
	private int courseid;
	private int sectionid;
	private int isread;
	
	
	
	public int getCourseid() {
		return courseid;
	}
	public void setCourseid(int courseid) {
		this.courseid = courseid;
	}
	public int getSectionid() {
		return sectionid;
	}
	public void setSectionid(int sectionid) {
		this.sectionid = sectionid;
	}
	public int getIsread() {
		return isread;
	}
	public void setIsread(int isread) {
		this.isread = isread;
	}
	public int getRecommentid() {
		return recommentid;
	}
	public void setRecommentid(int recommentid) {
		this.recommentid = recommentid;
	}
	public int getVideoid() {
		return videoid;
	}
	public void setVideoid(int videoid) {
		this.videoid = videoid;
	}
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	public int getTouserid() {
		return touserid;
	}
	public void setTouserid(int touserid) {
		this.touserid = touserid;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getTousername() {
		return tousername;
	}
	public void setTousername(String tousername) {
		this.tousername = tousername;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	
	
	private int id;
	private Timestamp addtime;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getAddtime() {
		return addtime.toString().replace(".0", "");
	}
	public void setAddtime(Timestamp addtime) {
		this.addtime = addtime;
	}

}
